You can also edit default styles directly by modifying the matplotlib.rcParams dictionary.